{extend name="base" /}

{block name="main"}
{volist name="gw" id="vo"}
 <!-- 内容 -->
 <div class="container" style="height: 650px;">
    <div class="row">
        <!-- 左边内容 -->
        <div class="col-md-9">
            <!-- 面包屑导航 -->
            <ol class="breadcrumb" style="margin-top: 20px;">
                <li class="breadcrumb-item"><a href="{:url('index/index')}">首页</a></li>
                <li class="breadcrumb-item"><a href="{:url('gw/index')}">岗位列表</a></li>
                <li class="breadcrumb-item active">岗位详情</li>
            </ol>
            <!-- 面包屑导航 end -->
            <div class="row">
                <div class="col-md-6">
                    <img class="img-fluid" src="__STATIC__/uploads/{$vo.position_pic}" alt="Chania">
                </div>
                <div class="col-md-6">

                    <p>{$vo.position_info}</p>
                </div>
                <div class="col-md-12">
                    <p>职位：{$vo.position_name}</p>
                    <p>公司：{$vo.company_name}</p>
                    <p>薪资：{$vo.position_money}</p>
                    <p>地点：{$vo.position_site}</p>
                    <!-- <p>学历：本科</p> -->
                    <a href="{:url('gw/collect',['position_id'=>$vo.position_id])}"><button type="button" class="btn btn-info">收藏职位</button></a>
                    <p class="text-right">
                        <form action="{:url('gw/toujl')}" enctype="multipart/form-data"  method="POST">
                            <input type="hidden" class="form-control" value="{$vo.position_id}" name="position_id">
                            <div class="form-group">
                              <label for="email">选择简历:</label>
                              <select class="form-control" id="sel1" name="resume_id">
                                {volist name="jl" id="vo1"}
                                <option value="{$vo1.resume_id}">{$vo1.resume_title}</option>
                                {/volist}
                               </select>
                            </div>
                            
                            <button type="submit" class="btn btn-primary">投递简历</button>
                          </form>
                        
                        
                    </p>
                </div>
            </div>


        </div>
        <!-- 左边内容 end -->
        <!-- 右边内容 -->
        <div class="col-md-3">
            <div class="card" style="margin-top: 20px;">
                <div class="card-body">
                    <h5>热门岗位</h5>
                    <div class="card" style="margin-top: 10px;">
                        <div class="card-header bg-secondary text-white">大连腾讯无线研发中心</div>
                        <div class="card-body ">前端开发</div>
                    </div>
                    <div class="card" style="margin-top: 10px;">
                        <div class="card-header bg-secondary text-white">大连腾讯无线研发中心</div>
                        <div class="card-body ">前端开发</div>
                    </div>
                    <div class="card" style="margin-top: 10px;">
                        <div class="card-header bg-secondary text-white">大连腾讯无线研发中心</div>
                        <div class="card-body ">前端开发</div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 右边内容 end -->
    </div>
</div>
<!-- 内容 end -->
{/volist}
{/block}